package badgegenerator.controller;

import badgegenerator.dao.exceptions.MyBatisInitException;
import badgegenerator.dao.mybatis.MyBatisConnector;
import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;

@ManagedBean(name="appinit", eager=true)
@ApplicationScoped
public class AppInit {
    public AppInit() throws MyBatisInitException{
        MyBatisConnector.configure();
    }
}
